// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * TmpFbaShipment
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "tmp_fba_shipment", autoResultMap = true)
@Schema(title = "FBA货件临时表")
public class TmpFbaShipment implements Serializable {

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 货件id
   */
  @TableField(value = "`shipment_id`")
  @Schema(title = "货件id")
  private String shipmentId;

  /**
   * 货件名称
   */
  @TableField(value = "`shipment_name`")
  @Schema(title = "货件名称")
  private String shipmentName;

  /**
   * 个人或企业名称
   */
  @TableField(value = "`name`")
  @Schema(title = "个人或企业名称")
  private String name;

  /**
   * 街道地址
   */
  @TableField(value = "`address_line`")
  @Schema(title = "街道地址")
  private String addressLine;

  /**
   * 区或县
   */
  @TableField(value = "`district_or_county`")
  @Schema(title = "区或县")
  private String districtOrCounty;

  /**
   * 城市
   */
  @TableField(value = "`city`")
  @Schema(title = "城市")
  private String city;

  /**
   * 州或省的代码
   */
  @TableField(value = "`state_or_province_code`")
  @Schema(title = "州或省的代码")
  private String stateOrProvinceCode;

  /**
   * 国家代码
   */
  @TableField(value = "`country_code`")
  @Schema(title = "国家代码")
  private String countryCode;

  /**
   * 邮编
   */
  @TableField(value = "`postal_code`")
  @Schema(title = "邮编")
  private String postalCode;

  /**
   * 亚马逊配送中心
   */
  @TableField(value = "`destination_fulfillment_center_id`")
  @Schema(title = "亚马逊配送中心")
  private String destinationFulfillmentCenterId;

  /**
   * 订单状态
   */
  @TableField(value = "`shipment_status`")
  @Schema(title = "订单状态")
  private String shipmentStatus;

  /**
   * 标签类型
   */
  @TableField(value = "`label_prep_type`")
  @Schema(title = "标签类型")
  private String labelPrepType;

  /**
   * 是否原装发货
   */
  @TableField(value = "`are_cases_required`")
  @Schema(title = "是否原装发货")
  private Boolean areCasesRequired;

  /**
   * 到达日期
   */
  @TableField(value = "`confirmed_need_by_date`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "到达日期")
  private java.util.Date confirmedNeedByDate;

  /**
   * 箱内信息方式
   */
  @TableField(value = "`box_contents_source`")
  @Schema(title = "箱内信息方式")
  private String boxContentsSource;

  /**
   * 箱子总数
   */
  @TableField(value = "`total_units`")
  @Schema(title = "箱子总数")
  private Integer totalUnits;

  /**
   * 单个箱子人工费
   */
  @TableField(value = "`fee_per_unit`")
  @Schema(title = "单个箱子人工费")
  private java.math.BigDecimal feePerUnit;

  /**
   * 总人工费
   */
  @TableField(value = "`total_fee`")
  @Schema(title = "总人工费")
  private java.math.BigDecimal totalFee;

  /**
   * 店铺
   */
  @TableField(value = "`sid`")
  @Schema(title = "店铺")
  private Long sid;

  /**
   * 国家
   */
  @TableField(value = "`country`")
  @Schema(title = "国家")
  private String country;
}
